#include "mainmenu.h"
#include "ui_mainmenu.h"
#include "startwizard.h"

#include <QApplication>
#include <QDesktopWidget>
#include <QLayout>

MainMenu::MainMenu(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainMenu)
{
    ui->setupUi(this);
    //this->setWindowState(Qt::WindowMaximized);
    int left=0;
    int top = 30;
    int height = 21;
    int width = QApplication::desktop()->width()-2*left;

    this->setGeometry(left,top,width,height);
    this->setFixedSize(width, height);
}

MainMenu::~MainMenu()
{
    delete ui;
}
